home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6748 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.sunquest.com!kitk!kitk
  2. From: kitk@mudshark.sunquest.com (Kit Kauffmann)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: DLL's - Explanation needed...
  5. Date: Fri, 9 Feb 1996 09:07:26
  6. Organization: Sunquest
  7. Message-ID: <kitk.2081.00092003@mudshark.sunquest.com>
  8. References: <4fc52q$per@newsstand.cit.cornell.edu>
  9. NNTP-Posting-Host: kkauffma.sunquest.com
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  11.  
  12. In article <4fc52q$per@newsstand.cit.cornell.edu> wo10@cornell.edu (Warren Ouyang) writes:
  13. >From: wo10@cornell.edu (Warren Ouyang)
  14. >Subject: DLL's - Explanation needed...
  15. >Date: 8 Feb 1996 06:26:34 GMT
  16.  
  17. >Hello all, i was wondering if anyone here could tell me what exactly a DLL is 
  18. >for?  Thanks!
  19.  
  20. >Warren
  21.  
  22. DLL's (Dynamic Link Libraries) are (fully) linked at runtime instead of 
  23. compile time (you provide a stub .LIB, but the actual resolution of function 
  24. calls occurs at runtime).
  25.  
  26. Two benefits: 
  27.  
  28. 1. All the currently running programs can (re-) use the code from a 
  29. single library, rather than each having their own (staticly linked) copy of 
  30. the library, cutting down on how much code must be loaded in memory.
  31.  
  32. 2.  The library code/data can be changed without relinking the program, 
  33. allowing you to provide different functionality from the "same" function call, 
  34. or different resource data (for example, in other languages!), by providing 
  35. multiple DLL's (and some way to tell the program which one(s) to use).
  36.  
  37.  
  38. Kit Kauffmann - kitk@mudshark.sunquest.com
  39. AKA 73363,447 (Compu$erve)
  40.  
  41. Finger me for my public key
  42.